package day03_oop_code.com.itheima.d10_genericity_method;

import java.util.ArrayList;

public class Test2 {
    public static void main(String[] args) {
        ArrayList<TSL> tsls = new ArrayList<TSL>();
        tsls.add(new TSL());
        tsls.add(new TSL());
        tsls.add(new TSL());
        tsls.add(new TSL());
        go(tsls);
    }
    public static void go(ArrayList<? extends Car> cars){

    }
}

class Car{

}
class TSL extends Car{

}
class LX extends Car{

}
class Dog{

}
